#include <iostream>
#include <cmath>
#include <iomanip>
#include <cstring>

using namespace std;

class construct
{
private:
    int x;

public:
    construct()
    {
        x = 0;
        cout << "Constructed by default, value = " << x << endl;
    }
    construct(int n)
    {
        x = n;
        cout << "Constructed using one argument constructor, value = ";
        cout << x << endl;
    }
    construct(construct &s)
    {
        x = s.x;
        cout << "Constructed using copy constructor, value = ";
        cout << x << endl;
    }
};

int main()
{
    int t, x, s;
    cin >> t;
    while (t--)
    {
        cin >> x;
        if (x == 0)
        {
            construct s1;
        }
        else if (x == 1)
        {
            cin >> s;
            construct s1(s);
        }
        else if (x == 2)
        {
            cin >> s;
            construct s2(s);
            construct s1(s2);
        }
    }

    return 0;
}

/*

*/